Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.3] fire new Registered event when user registers #15401

Merged
merged 2 commits into from
Sep 16, 2016
Merged

[5.3] fire new Registered event when user registers #15401

merged 2 commits into from
Sep 16, 2016

Conversation

brayniverse
Copy link
Contributor

As proposed in laravel/ideas#197 this PR adds a new event, Illuminate\Auth\Events\Registered, which fires when registering a user via the RegistersUsers trait.

* Add Registered event for when users register
* Fire event when calling `register()` in RegistersUsers trait.
@@ -2,6 +2,8 @@

namespace Illuminate\Foundation\Auth;

use Illuminate\Auth\Events\Registered;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sort import by length.

@brayniverse
Copy link
Contributor Author

🎉 Yay! Thanks @taylorotwell

@brayniverse brayniverse deleted the fire-registered-event branch September 16, 2016 17:38
@GrahamCampbell
Copy link
Member

🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants